talloc is a hierarchical, reference counted memory pool system with
destructors.
